package com.tedu.ds.dept.pojo.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import java.util.Date;

@Data
public class DepartmentParam {

    @ApiModelProperty(value = "部门id", example = "1")
    private Integer id;

    @ApiModelProperty(value = "部门名称", example = "研发部", required = true)
    @NotBlank(message = "部门名称不能为空")
    private String name;

    @ApiModelProperty(value = "负责人", example = "1")
    private Long managerId;

    @ApiModelProperty(value = "联系方式", example = "12345678901")
    private String phone;

    @ApiModelProperty(value = "部门位置（楼层、房间号）", example = "3楼301室")
    private String location;

    @ApiModelProperty(value = "部门描述", example = "负责产品研发和技术支持")
    private String description;

    @ApiModelProperty(value = "部门状态", example = "1")
    private String status;
}